/* 引入Bootstrap CSS */
@import url("../js/bootstrap.js");

/* 自定义样式 */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.box-header {
    background-color: #00a65a;
    color: white;
    padding: 10px 15px;
    border-radius: 5px 5px 0 0;
}

.box-title {
    font-size: 24px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 15px;
}

.label {
    font-weight: 600;
    color: #333;
}

.input-text {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
}

.button-container {
    text-align: right;
}

.btn {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #218838;
}

/* 模态框样式 */
.modal {
    font-family: 'Open Sans', sans-serif;
}

.modal-header {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 5px 5px 0 0;
}

.modal-title {
    font-size: 20px;
    font-weight: 500;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 0 0 5px 5px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.page-index {
    display: inline-block;
    padding: 5px 10px;
    margin-right: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #007bff;
    cursor: pointer;
}

.page-index.active {
    background-color: #007bff;
    color: white;
}

.page-index:hover {
    background-color: #ddd;
}

/* 其他样式 */
.alert {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #721c24;
    background-color: #f8d7da;
}

.close {
    float: right;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: inherit;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
}

.close:hover {
    opacity: 0.75;
}
